<?php 
error_reporting(E_ALL ^ E_NOTICE);
set_time_limit(0);

define('BASE_ROOT', str_replace("\\", '/', dirname(__FILE__)));

include './include/config.inc.php';

//include './include/big2gb.php';
$dbclass = 'db_'.DB_DATABASE;
require './include/'.$dbclass.'.class.php';

$db = new $dbclass;
$db->connect(DB_HOST, DB_USER, DB_PW, DB_NAME, DB_PCONNECT, DB_CHARSET);

require_once './include/Manhua.class.php';
$oManhua = new Manhua($db);


$oManhua->fetchChapter();

?>